import java.util.Scanner;


public class Ming {
    public static void main(String[] args) {
        Scanner sca = new Scanner(System.in);

        System.out.print("请输入身高（cm）：");
        int height = sca.nextInt();

        System.out.print("请输入财富（万元）：");
        int wealth = sca.nextInt();

        System.out.print("请输入是否帅（是否）：");
        String is = sca.next();

        String result = checkConditions(height, wealth, is);
        System.out.println(result);
    }

    public static String checkConditions(int height, int wealth, String is) {

        if (height >= 180 && wealth >= 1000 && "是".equalsIgnoreCase(is)) {
            return "我一定要嫁给他！！！";
        }

        else if (height >= 180 || wealth >= 1000 || "是".equalsIgnoreCase(is)) {
            return "嫁吧，比上不足，比下有余。";
        }

        else {
            return "不嫁!";
        }
    }
}
